﻿<UserControl x:Class="Efm.Progress.WinProgress"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             x:ClassModifier="internal"
             MaxWidth="350" Width="350"   >
    <Grid>
    <ScrollViewer VerticalScrollBarVisibility="Auto">
    <Grid x:Name="All" VerticalAlignment="Top">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        
        <TextBlock x:Name="ContentText" Text="" TextWrapping="Wrap" Margin="10,5" Grid.RowSpan="1"/>
        <StackPanel x:Name="ProgressData" Margin="10,0" Grid.Row="1" Grid.RowSpan="1"/>
        <Grid x:Name="ButtonControl" Grid.Row="2" VerticalAlignment="Bottom" Margin="0">
            <Separator  Margin="10,0,10,40" Height="1" VerticalAlignment="Bottom" />
            <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal">
                <Button x:Name="CancelButton" Content="Cancel"  Height="26" VerticalAlignment="Center" HorizontalAlignment="Right" Width="75" IsCancel="True"  Click="Cancel_Click" Margin="5,0"/>
                <Button x:Name="PauseButton" Content="Pause"  Height="26" VerticalAlignment="Center" HorizontalAlignment="Right" Width="75" IsDefault="True" Click="Pause_Click" Margin="5,0" Padding="1" />
            </StackPanel>
        </Grid>
        </Grid>
    </ScrollViewer>
    </Grid>
</UserControl>
